package com.atguigu.gulimall.product.fallback;

import com.atguigu.common.utils.R;
import com.atguigu.gulimall.product.fegin.SeckillFeignService;
import org.springframework.stereotype.Component;

@Component
public class SeckillFeignServiceFallBack implements SeckillFeignService {
    @Override
    public R getSkuSeckillInfo(Long skuId) {
        System.out.println("getSkuSeckillInfo  调用失败 ");
        return R.error(40001,"调用失败");
    }
}
